Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
<html lang="en"> | |
<head> | |
<script> | |
function str2hex(str) | |
{ | |
var out_str = " "; | |
for(var i = 0; i < str.length; i++) | |
{ |
###### | |
# NOTE: this includes calculaiton for my first Wins Above Replacement approach, as well as the current DRA- approach | |
###### | |
games = mlbgame.day(2021,7,30) | |
daily_game_id = 1 | |
unique_row_id = 1. # just to make sure i have the same format as legacy spreadsheet | |
location_index = 0 |
I hereby claim:
To claim this, I am signing this object:
package com.isciurus.oauth_poc; | |
import java.io.IOException; | |
import java.text.DateFormat; | |
import java.util.Date; | |
import com.google.android.gms.auth.GoogleAuthException; | |
import com.google.android.gms.auth.GoogleAuthUtil; | |
import com.google.android.gms.auth.UserRecoverableAuthException; | |
import android.accounts.AccountManager; | |
import android.app.Activity; |
I ran into the battle of running all of my VMs and the host node under a single public IP address. Luckily, the host is just pure Debian, and ships with iptables. | |
What needs to be done is essentially to run all the VMs on a private internal network. Outbound internet access is done via NAT. Inbound access is via port forwarding. | |
Network configuration | |
Here’s how it’s done: | |
Create a virtual interface that serves as the gateway for your VMs: |
PROJECT(project C) | |
CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0) | |
FIND_PACKAGE(PkgConfig REQUIRED) | |
PKG_CHECK_MODULES(GLIB REQUIRED glib-2.0) | |
INCLUDE_DIRECTORIES( | |
src/include/ |
const std = @import("std"); | |
test "fields" { | |
const U1s = packed struct { | |
a: u1, | |
b: u1, | |
c: u1, | |
}; | |
const x = U1s{ .a = 1, .b = 0, .c = 0 }; |
docker rm --force $(docker ps --all --quiet); docker rmi --force $(docker images --all --quiet); docker volume rm $(docker volume ls --quiet) |